<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link type="text/css" rel="stylesheet" href="../resources/css/main.css" />

<script type="text/javascript" src="../resources/js/jquery-1.4.2.min.js"></script>

<title>.eq()</title>

<style type="text/css">

#container div { width:60px; height:60px; margin:10px; float:left; border:2px solid blue; }


</style>

<script type="text/javascript">
$( function(){
	$('#container > div').eq(4).css('background','yellow');		
});
</script>
	

</head>

<body>
<h4>.eq()</h4>
<hr />
<br />
<div style="background-color: #ADD8E6; padding: 10px;">
	<p> This is summary of the .eq() function, to more information see: <a href="http://api.jquery.com/eq/" style="text-decoration: none;">.eq() Documentation</a>
</div>
<br>

<div style="background-color: #EEEEE0; padding: 10px;">
<pre>
$( function(){
	$('#container > div').eq(4).css('background','yellow');		
});
</pre>
</div>
<br>

<div id="container">
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
<div></div>
</div>





</body>
</html>